package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 订单信息对象 hotel_order
 *
 * @author ruoyi
 * @date 2021-04-21
 */
public class HotelOrder extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 订单编号 */
    private Long orderId;

    /** 用户编号 */
    @Excel(name = "用户编号")
    private Long userId;

    /** 客户编号 */
    @Excel(name = "客户编号")
    private Long customerId;

    /** 入住日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "入住日期", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss ")
    private Date moveInDate;

    /** 离店日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "离店日期", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date moveOutDate;

    /** 订单备注 */
    @Excel(name = "订单备注")
    private String orderComment;

    public void setOrderId(Long orderId)
    {
        this.orderId = orderId;
    }

    public Long getOrderId()
    {
        return orderId;
    }
    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId()
    {
        return userId;
    }
    public void setCustomerId(Long customerId)
    {
        this.customerId = customerId;
    }

    public Long getCustomerId()
    {
        return customerId;
    }
    public void setMoveInDate(Date moveInDate)
    {
        this.moveInDate = moveInDate;
    }

    public Date getMoveInDate()
    {
        return moveInDate;
    }
    public void setMoveOutDate(Date moveOutDate)
    {
        this.moveOutDate = moveOutDate;
    }

    public Date getMoveOutDate()
    {
        return moveOutDate;
    }
    public void setOrderComment(String orderComment)
    {
        this.orderComment = orderComment;
    }

    public String getOrderComment()
    {
        return orderComment;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("orderId", getOrderId())
                .append("userId", getUserId())
                .append("customerId", getCustomerId())
                .append("moveInDate", getMoveInDate())
                .append("moveOutDate", getMoveOutDate())
                .append("orderComment", getOrderComment())
                .toString();
    }
}